AWARDS VOTING 2026 — SETUP GUIDE
================================

Folder structure:
  /index.html
  /admin.html
  /config/database.php
  /api/get_categories.php
  /api/get_all_nominees.php
  /api/upload_nominee_image.php
  /api/vote.php
  /api/get_votes.php
  /api/delete_vote.php
  /api/admin_login.php
  /uploads/nominees/          <- writable folder for uploaded images
  /setup.sql

STEPS
-----
1. Import setup.sql into MySQL/MariaDB (creates DB + tables + sample data).
2. Edit config/database.php with your DB credentials.
3. Upload all files to your web root, keeping the folder structure.
4. Make sure /uploads/nominees/ is writable (chmod 755 or 775).
5. Open index.html in your browser to test voting.
6. Open admin.html to manage nominees, results, and images.

DEFAULT ADMIN LOGIN
-------------------
Username: admin
Password: admin123
(Change these in api/admin_login.php BEFORE going live!)

PAYSTACK KEY
------------
Replace PAYSTACK_PUBLIC_KEY inside index.html with your live public key
before accepting real payments.